package exttable.dbclasses;

import exttable.view.ILocalsation;
import utils.Localisation;

/**
 * Created by IntelliJ IDEA.
 * User: ADMIN
 * Date: 18.11.11
 * Time: 15:49
 * To change this template use File | Settings | File Templates.
 */
public class DbTableField implements ILocalsation {
    String fieldName;
    String unit;
    String nameRu;
    String nameEn;
    String nameKz;

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getNameRu() {
        return nameRu;
    }

    public void setNameRu(String nameRu) {
        this.nameRu = nameRu;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getNameKz() {
        return nameKz;
    }

    public void setNameKz(String nameKz) {
        this.nameKz = nameKz;
    }

    public DbTableField(){

    }
    @Override
    public String toString() {
        return Localisation.getMsg(this);
    }
}
